Microsoft DirectX 8.1 (C++)

IObjects Interface

This topic applies to Windows XP Home Edition and Windows XP Professional only.

The IObjects interface manages an Objects collection. This interface is also supported by other collection objects. It is used primarily for extending the object hierarchy of the Guide Store, but can also be used for manipulation of generic collections.

The IObjects interface inherits directly from IUnknown and exposes the following additional methods.

Method Description
AddAt Adds an object to the collection at the specified index.
get_AddNew Creates a new object and adds it to the collection.
get_AddNewAt Creates a new object and adds it to the collection at a specified index.
get_Count Retrieves the number of objects in the collection.
get_Item Retrieves the object at the specified index.
get_ItemsByKey Retrieves a sorted collection of objects that meet the specified criteria.
get_ItemsInTimeRange Retrieves a collection of objects whose start or end times occur within the specified range.
get_ItemsInverseRelatedToBy Retrieves a collection of objects inversely related to the specified object.
get_ItemsRelatedToBy Retrieves a collection of objects inversely related to the specified object.
get_ItemsWithMetaProperty Retrieves a collection of objects that have a common MetaProperty object.
get_ItemsWithMetaPropertyCond Retrieves a collection of objects whose metaproperties meet a specified condition.
get_ItemsWithType Retrieves a collection of objects that share the specified CLSID.
get_ItemWithID Retrieves an object by unique identifer.
get_ItemWithKey Retrieves an object by key metaproperty.
Remove Removes an object from the collection.
RemoveAll Removes all objects from the collection.
Resync Updates the collection.
UnreferencedItems Retrieves a collection of objects that are not referenced by other objects.

Remarks

The IID of this interface is IID_IObjects.

See Also